import turtle as t


def click(x, y):
    # t.down()
    # t.ht()
    t.clear()
    print('click', x, y)
    t.fd(100)
    # t.stamp()


# t.ht()
t.up()
t.goto(-100, 100)
t.fillcolor('green')
t.shape('square')
t.shapesize(3, 3)
t.stamp()
t.onclick(click)

t.mainloop()
